/ohos5.0/docs/zh-cn/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-photoEditorExtensionAbility.md | 95 ## PhotoEditorExtensionAbility.onBackground 96 onBackground(): void 112 onBackground() { 113 console.info(TAG, `onBackground`);
|
H A D | js-apis-app-ability-actionExtensionAbility.md | 72 ## ActionExtensionAbility.onBackground 74 onBackground(): void 161 onBackground() { 162 console.info(TAG, `onBackground`);
|
H A D | js-apis-app-ability-embeddedUIExtensionAbility.md | 126 ## EmbeddedUIExtensionAbility.onBackground 128 onBackground(): void 142 onBackground() { 143 console.info(TAG, `onBackground`);
|
H A D | js-apis-app-ability-shareExtensionAbility.md | 72 ## ShareExtensionAbility.onBackground 74 onBackground(): void 161 onBackground() { 162 console.info(TAG, `onBackground`);
|
H A D | js-apis-app-ability-uiExtensionAbility.md | 131 ## UIExtensionAbility.onBackground 133 onBackground(): void 147 onBackground() { 148 console.info(TAG, `onBackground`);
|
H A D | js-apis-app-ability-autoFillExtensionAbility-sys.md | 227 ## 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 D | uiability-lifecycle.md | 173 …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 D | embeddeduiextensionability.md | 21 …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 D | changelogs-ability.md | 25 onBackground() { 26 hilog.info(0x0000, '[demo]', '%{public}s', 'EntryAbility onBackground');
|
/ohos5.0/docs/en/application-dev/reference/apis-ability-kit/ |
H A D | js-apis-app-ability-photoEditorExtensionAbility.md | 95 ## PhotoEditorExtensionAbility.onBackground 96 onBackground(): void 112 onBackground() { 113 console.info(TAG, `onBackground`);
|
H A D | js-apis-app-ability-embeddedUIExtensionAbility.md | 126 ## EmbeddedUIExtensionAbility.onBackground 128 onBackground(): void 142 onBackground() { 143 console.info(TAG, `onBackground`);
|
H A D | js-apis-app-ability-uiExtensionAbility.md | 131 ## UIExtensionAbility.onBackground 133 onBackground(): void 147 onBackground() { 148 console.info(TAG, `onBackground`);
|
H A D | js-apis-app-ability-shareExtensionAbility.md | 72 ## ShareExtensionAbility.onBackground 74 onBackground(): void 161 onBackground() { 162 console.info(TAG, `onBackground`);
|
H A D | js-apis-app-ability-actionExtensionAbility.md | 72 ## 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 D | DHardwareUIAbility.ets | 288 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 D | UIExtensionAbility.ets | 33 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 D | SelectorExtensionAbility.ets | 60 onBackground() { 61 console.info(TAG, 'SelectorExtensionAbility onBackground');
|
/ohos5.0/docs/en/release-notes/changelogs/OpenHarmony_4.0.5.2/ |
H A D | changelogs-ability.md | 25 onBackground() { 26 hilog.info(0x0000, '[demo]', '%{public}s', 'EntryAbility onBackground');
|
/ohos5.0/docs/zh-cn/application-dev/reference/apis-arkui/ |
H A D | js-apis-getContext.md | 72 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 D | EntryAbility.ets | 54 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 D | PasteboardSwitchAbility.ets | 36 onBackground() { 37 console.log(TAG, `UIExtAbility onBackground`);
|
/ohos5.0/docs/en/application-dev/application-models/ |
H A D | uiability-lifecycle.md | 174 …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 D | embeddeduiextensionability.md | 21 …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 D | TestAbility.ets | 59 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 D | TestAbility.ets | 58 onBackground() { 59 hilog.info(0x0000, 'testTag', '%{public}s', 'TestAbility onBackground');
|