diff --git a/api/common/@internal/featureability.d.ts b/api/common/@internal/featureability.d.ts index ef50dbd4279017d74cefe1573086d1c2d6dae3cb..2499e3665486fec9de80173a953080849a9cf3df 100644 --- a/api/common/@internal/featureability.d.ts +++ b/api/common/@internal/featureability.d.ts @@ -293,6 +293,15 @@ export declare class FeatureAbility { */ static finishWithResult(param: FinishWithResultParams): Promise; + /** + * Get device information list. + * @param flag Default 0, get the information list of all devices in the network. + * @returns A Promise object is returned, which contains the result whether the device information list is obtained successfully. + * @since 7 + * @devices tv, phone, tablet, wearable + */ + static getDeviceList(flag: number): Promise; + /** * Calls an AA. * @param param Indicates the request param. diff --git a/api/phone/@internal/featureability.d.ts b/api/phone/@internal/featureability.d.ts index f9ba85a227f0dcbafdb4f50535250aa1c74d82c8..a8453307a28d455e3bf710dfa6d4cdf94de55490 100644 --- a/api/phone/@internal/featureability.d.ts +++ b/api/phone/@internal/featureability.d.ts @@ -173,6 +173,15 @@ export declare class FeatureAbility { */ static finishWithResult(param: FinishWithResultParams): Promise; + /** + * Get device information list. + * @param flag Default 0, get the information list of all devices in the network. + * @returns A Promise object is returned, which contains the result whether the device information list is obtained successfully. + * @since 7 + * @devices tv, phone, tablet, wearable + */ + static getDeviceList(flag: number): Promise; + /** * Calls an AA. * @param param Indicates the request param. diff --git a/api/tablet/@internal/featureability.d.ts b/api/tablet/@internal/featureability.d.ts index f9ba85a227f0dcbafdb4f50535250aa1c74d82c8..a8453307a28d455e3bf710dfa6d4cdf94de55490 100644 --- a/api/tablet/@internal/featureability.d.ts +++ b/api/tablet/@internal/featureability.d.ts @@ -173,6 +173,15 @@ export declare class FeatureAbility { */ static finishWithResult(param: FinishWithResultParams): Promise; + /** + * Get device information list. + * @param flag Default 0, get the information list of all devices in the network. + * @returns A Promise object is returned, which contains the result whether the device information list is obtained successfully. + * @since 7 + * @devices tv, phone, tablet, wearable + */ + static getDeviceList(flag: number): Promise; + /** * Calls an AA. * @param param Indicates the request param. diff --git a/api/tv/@internal/featureability.d.ts b/api/tv/@internal/featureability.d.ts index f9ba85a227f0dcbafdb4f50535250aa1c74d82c8..a8453307a28d455e3bf710dfa6d4cdf94de55490 100644 --- a/api/tv/@internal/featureability.d.ts +++ b/api/tv/@internal/featureability.d.ts @@ -173,6 +173,15 @@ export declare class FeatureAbility { */ static finishWithResult(param: FinishWithResultParams): Promise; + /** + * Get device information list. + * @param flag Default 0, get the information list of all devices in the network. + * @returns A Promise object is returned, which contains the result whether the device information list is obtained successfully. + * @since 7 + * @devices tv, phone, tablet, wearable + */ + static getDeviceList(flag: number): Promise; + /** * Calls an AA. * @param param Indicates the request param. diff --git a/api/wearable/@internal/featureability.d.ts b/api/wearable/@internal/featureability.d.ts index f9ba85a227f0dcbafdb4f50535250aa1c74d82c8..a8453307a28d455e3bf710dfa6d4cdf94de55490 100644 --- a/api/wearable/@internal/featureability.d.ts +++ b/api/wearable/@internal/featureability.d.ts @@ -173,6 +173,15 @@ export declare class FeatureAbility { */ static finishWithResult(param: FinishWithResultParams): Promise; + /** + * Get device information list. + * @param flag Default 0, get the information list of all devices in the network. + * @returns A Promise object is returned, which contains the result whether the device information list is obtained successfully. + * @since 7 + * @devices tv, phone, tablet, wearable + */ + static getDeviceList(flag: number): Promise; + /** * Calls an AA. * @param param Indicates the request param.