diff --git a/api/@system.app.d.ts b/api/@system.app.d.ts index d038224a5839b542182b4092f8231412eb682e4a..1b57be12c01959a741d31f29672fd1e2be6e7182 100644 --- a/api/@system.app.d.ts +++ b/api/@system.app.d.ts @@ -113,6 +113,15 @@ export default class App { */ static terminate(): void; + /** + * Keeps the application visible after the screen is woken up. + * This method prevents the system from returning to the home screen when the screen is locked. + * @syscap SystemCapability.ArkUI.ArkUI.Full + * @since 3 + * @deprecated since 8 + */ + static screenOnVisible(options?: ScreenOnVisibleOptions): void; + /** * Requests the application to run in full window. * In some scenarios, such as semi-modal FA, the FA runs in non-full window. @@ -122,7 +131,8 @@ export default class App { * @param options Transition time from non-full window to full window, in milliseconds. * By default, the value is in direct proportion to the distance between the non-full window and the full window. * @since 3 - * @systemapi + * @deprecated since 8 + * @useinstead startAbility */ static requestFullWindow(options?: RequestFullWindowOptions): void; diff --git a/api/common/full/featureability.d.ts b/api/common/full/featureability.d.ts index bc825a0587767dd67bf875f9b72092b023c18ad3..308fe6727fcb950dc4dbca24a0903ee0bf81b448 100644 --- a/api/common/full/featureability.d.ts +++ b/api/common/full/featureability.d.ts @@ -32,8 +32,8 @@ export interface Result { } /** + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ export interface SubscribeMessageResponse { @@ -149,8 +149,8 @@ export interface SubscribeAbilityEventParam { } /** + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ export interface SendMessageOptions { @@ -200,8 +200,8 @@ export interface SendMessageOptions { } /** + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ export interface SubscribeMessageOptions { @@ -374,8 +374,8 @@ export declare class FeatureAbility { /** * Sends messages to the destination device. * @param options Options. + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ static sendMsg(options: SendMessageOptions): void; @@ -383,16 +383,16 @@ export declare class FeatureAbility { /** * Listens for messages sent from other devices. * @param options Options. + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ static subscribeMsg(options: SubscribeMessageOptions): void; /** * Cancels the listening for messages sent from other devices. + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ static unsubscribeMsg(): void; diff --git a/api/common/lite/featureability.d.ts b/api/common/lite/featureability.d.ts index 014cbb7538d408c8d24df4e8bab19f4f62256651..7d8d9be3ac69c168a6c31a218b267f4a3348374d 100644 --- a/api/common/lite/featureability.d.ts +++ b/api/common/lite/featureability.d.ts @@ -14,8 +14,8 @@ */ /** + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ export interface SubscribeMessageResponse { @@ -45,8 +45,8 @@ export interface SubscribeMessageResponse { } /** + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ export interface SendMessageOptions { @@ -96,8 +96,8 @@ export interface SendMessageOptions { } /** + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ export interface SubscribeMessageOptions { @@ -122,8 +122,8 @@ export declare class FeatureAbility { /** * Sends messages to the destination device. * @param options Options. + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ static sendMsg(options: SendMessageOptions): void; @@ -131,16 +131,16 @@ export declare class FeatureAbility { /** * Listens for messages sent from other devices. * @param options Options. + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ static subscribeMsg(options: SubscribeMessageOptions): void; /** * Cancels the listening for messages sent from other devices. + * @syscap SystemCapability.ArkUI.ArkUI.Lite * @since 5 - * @systemapi * @deprecated since 8 */ static unsubscribeMsg(): void;