Home
last modified time | relevance | path

Searched refs:onBackground (Results 1 – 25 of 368) sorted by relevance

12345678910>>...15

/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-photoEditorExtensionAbility.md95 ## PhotoEditorExtensionAbility.onBackground
96 onBackground(): void
112 onBackground() {
113 console.info(TAG, `onBackground`);
H A Djs-apis-app-ability-actionExtensionAbility.md72 ## ActionExtensionAbility.onBackground
74 onBackground(): void
161 onBackground() {
162 console.info(TAG, `onBackground`);
H A Djs-apis-app-ability-embeddedUIExtensionAbility.md126 ## EmbeddedUIExtensionAbility.onBackground
128 onBackground(): void
142 onBackground() {
143 console.info(TAG, `onBackground`);
H A Djs-apis-app-ability-shareExtensionAbility.md72 ## ShareExtensionAbility.onBackground
74 onBackground(): void
161 onBackground() {
162 console.info(TAG, `onBackground`);
H A Djs-apis-app-ability-uiExtensionAbility.md131 ## UIExtensionAbility.onBackground
133 onBackground(): void
147 onBackground() {
148 console.info(TAG, `onBackground`);
H A Djs-apis-app-ability-autoFillExtensionAbility-sys.md227 ## AutoFillExtensionAbility.onBackground
229 onBackground(): void
242 onBackground() {
243 hilog.info(0x0000, 'testTag', '%{public}s', 'onBackground');
/ohos5.0/docs/zh-cn/application-dev/application-models/
H A Duiability-lifecycle.md173 …bility-kit/js-apis-app-ability-uiAbility.md#uiabilityonforeground)回调和[onBackground()](../reference…
175 …在UIAbility的UI可见之前,如UIAbility切换至前台时触发。可以在`onForeground()`回调中申请系统需要的资源,或者重新申请在`onBackground()`中释放的资源。
177 `onBackground()`回调,在UIAbility的UI完全不可见之后,如UIAbility切换至后台时候触发。可以在`onBackground()`回调中释放UI不可见时无用的资源,或者在…
181 当应用切换到后台状态,可以在`onBackground()`回调中停止定位功能,以节省系统的资源消耗。
191 // 申请系统需要的资源,或者重新申请在onBackground()中释放的资源
194 onBackground(): void {
H A Dembeddeduiextensionability.md21 …mbeddedUIExtensionAbility.md#embeddeduiextensionabilityonforeground)、[onBackground](../reference/a…
27 - **onBackground**:当EmbeddedUIExtensionAbility从前台转到后台时触发。
38 …mbeddedUIExtensionAbility.md#embeddeduiextensionabilityonforeground)、[onBackground](../reference/a…
54 onBackground() {
55 console.log(TAG, `onBackground`);
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_4.0.5.2/
H A Dchangelogs-ability.md25 onBackground() {
26 hilog.info(0x0000, '[demo]', '%{public}s', 'EntryAbility onBackground');
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/
H A Djs-apis-app-ability-photoEditorExtensionAbility.md95 ## PhotoEditorExtensionAbility.onBackground
96 onBackground(): void
112 onBackground() {
113 console.info(TAG, `onBackground`);
H A Djs-apis-app-ability-embeddedUIExtensionAbility.md126 ## EmbeddedUIExtensionAbility.onBackground
128 onBackground(): void
142 onBackground() {
143 console.info(TAG, `onBackground`);
H A Djs-apis-app-ability-uiExtensionAbility.md131 ## UIExtensionAbility.onBackground
133 onBackground(): void
147 onBackground() {
148 console.info(TAG, `onBackground`);
H A Djs-apis-app-ability-shareExtensionAbility.md72 ## ShareExtensionAbility.onBackground
74 onBackground(): void
161 onBackground() {
162 console.info(TAG, `onBackground`);
H A Djs-apis-app-ability-actionExtensionAbility.md72 ## ActionExtensionAbility.onBackground
74 onBackground(): void
162 onBackground() {
163 console.info(TAG, `onBackground`);
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/entry/src/main/ets/mainability/
H A DDHardwareUIAbility.ets288 onBackground() {
290 console.info(TAG + 'onBackground : ' + 'Ability onBackground');
298 console.log(TAG + 'onBackground : stopFlag : ' + stopFlag)
300 console.log(TAG + 'onBackground : isScreenLock : ' + isScreenLock)
302 console.info(TAG + 'onBackground : ' + 'this.isStopAbility : ' + this.isStopAbility);
304 console.info(TAG + 'onBackground : ' + 'Distributed Hardware paused');
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_provider_bundle/entry/src/main/ets/uiextensionability/
H A DUIExtensionAbility.ets33 onBackground() {
34 console.log(TAG, `onBackground`);
/ohos5.0/foundation/ability/ability_runtime/services/dialog_ui/ams_system_dialog/entry/src/main/ets/ServiceExtAbility/
H A DSelectorExtensionAbility.ets60 onBackground() {
61 console.info(TAG, 'SelectorExtensionAbility onBackground');
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.5.2/
H A Dchangelogs-ability.md25 onBackground() {
26 hilog.info(0x0000, '[demo]', '%{public}s', 'EntryAbility onBackground');
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/
H A Djs-apis-getContext.md72 onBackground() {
73 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground');
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_provider_bundle/entry/src/main/ets/entryability/
H A DEntryAbility.ets54 onBackground() {
56 hilog.info(0x0000, 'testTag', '%{public}s', 'Ability onBackground');
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dialog/PasteboardDialog/entry/src/main/ets/pasteboardswitchability/
H A DPasteboardSwitchAbility.ets36 onBackground() {
37 console.log(TAG, `UIExtAbility onBackground`);
/ohos5.0/docs/en/application-dev/application-models/
H A Duiability-lifecycle.md174 …lity-kit/js-apis-app-ability-uiAbility.md#uiabilityonforeground) and [onBackground()](../reference…
176 …by the system or re-apply for resources that have been released in the **onBackground()** callback.
178 The **onBackground()** callback is triggered when the UI of the UIAbility instance is about to beco…
182 When the application is switched to the background, you can disable location in the **onBackground(…
192 … for the resources required by the system or re-apply for the resources released in onBackground().
195 onBackground(): void {
H A Dembeddeduiextensionability.md21 …beddedUIExtensionAbility.md#embeddeduiextensionabilityonforeground), [onBackground](../reference/a…
27 - **onBackground**: called when the EmbeddedUIExtensionAbility is switched from the foreground to t…
38 …beddedUIExtensionAbility.md#embeddeduiextensionabilityonforeground), [onBackground](../reference/a…
54 onBackground() {
55 console.log(TAG, `onBackground`);
/ohos5.0/foundation/communication/bluetooth_service/test/example/bluetoothtest/entry/src/ohosTest/ets/TestAbility/
H A DTestAbility.ets59 onBackground() {
60 hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onBackground');
/ohos5.0/foundation/communication/wifi/wifi/test/wifi_testapp/entry/src/ohosTest/ets/TestAbility/
H A DTestAbility.ets58 onBackground() {
59 hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onBackground');

12345678910>>...15